package com.ly.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.util.Date;

@Data
@ApiModel
public class UserToken {
    @ApiModelProperty(value = "主键id")
    private Integer id;
    @ApiModelProperty(value = "用户令牌")
    private String token;
    @ApiModelProperty(value = "userId")
    private Integer userId;
    @ApiModelProperty(value = "过期时间")
    private Integer overdue;
    @ApiModelProperty(value = "令牌创建时间")
    private Date createTime;

}
